package com.platform.dao;

import com.platform.domain.model.OperateLog;

import java.util.List;

/**
* OperateLog
*
* User: wangyang
* DateTime: 2012-10-08 16:11:49
*
*/
public interface OperateLogDao {

    /**
    *
    * 根据主键查询OperateLog对象
    *
    * @param logId
    * @return OperateLog对象
    */
    OperateLog selectByPrimaryKey(String logId) throws Exception;

    /**
    *
    * 根据查询条件查询符合条件的OperateLog对象
    *
    * @param operateLog
    * @return 符合条件的OperateLog对象List
    */
    List<OperateLog> select(OperateLog operateLog) throws Exception;

    /**
    *
    * 根据主键删除OperateLog对象
    *
    * @param logId
    * @return 影响条件数
    */
    int deleteByPrimaryKey(String logId) throws Exception;

    /**
    *
    * 根据条件删除符合条件的OperateLog对象
    *
    * @param operateLog
    * @return 影响条件数
    */
    int delete(OperateLog operateLog) throws Exception;

    /**
    *
    * 插入OperateLog对象
    *
    * @param operateLog
    * @return 影响条件数
    */
    int insert(OperateLog operateLog) throws Exception;

    /**
    *
    * 更新OperateLog对象
    *
    * @param operateLog
    * @return 影响条件数
    */
    int update(OperateLog operateLog) throws Exception;

}
